package com.scau.clothes.service.impl;

import com.scau.clothes.pojo.Color;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ColorServiceImpl implements com.scau.clothes.service.ColorService {
    @Autowired
    StringRedisTemplate redisTemplate;
    @Override
    public int addColor(Color color) {
        return 0;
    }

    @Override
    public Color getColorById(int id) {
        return null;
    }

    @Override
    public Color getColorByVal(int val) {
        return null;
    }

    @Override
    public Color getColorByName(String name) {
        return null;
    }

    @Override
    public List<Color> getAllColor() {
        return null;
    }

    @Override
    public void addColorsInRedisByVal(int colorVal) {

    }
}
